package com.ruoyi.orderdetails.service;

import java.util.List;
import com.ruoyi.orderdetails.domain.Orderdetails;

/**
 * 订单细节Service接口
 * 
 * @author sqlstudent
 * @date 2025-06-13
 */
public interface IOrderdetailsService 
{
    /**
     * 查询订单细节
     * 
     * @param orderDetailId 订单细节主键
     * @return 订单细节
     */
    public Orderdetails selectOrderdetailsByOrderDetailId(Long orderDetailId);

    /**
     * 查询订单细节列表
     * 
     * @param orderdetails 订单细节
     * @return 订单细节集合
     */
    public List<Orderdetails> selectOrderdetailsList(Orderdetails orderdetails);

    /**
     * 新增订单细节
     * 
     * @param orderdetails 订单细节
     * @return 结果
     */
    public int insertOrderdetails(Orderdetails orderdetails);

    /**
     * 修改订单细节
     * 
     * @param orderdetails 订单细节
     * @return 结果
     */
    public int updateOrderdetails(Orderdetails orderdetails);

    /**
     * 批量删除订单细节
     * 
     * @param orderDetailIds 需要删除的订单细节主键集合
     * @return 结果
     */
    public int deleteOrderdetailsByOrderDetailIds(Long[] orderDetailIds);

    /**
     * 删除订单细节信息
     * 
     * @param orderDetailId 订单细节主键
     * @return 结果
     */
    public int deleteOrderdetailsByOrderDetailId(Long orderDetailId);
}
